CC = g++
main: main.o calculate.o para.o plot.o
	$(CC) -o main main.o calculate.o para.o plot.o

main.o: main.cpp
	$(CC) -c main.cpp

para.o: para.cpp
	$(CC) -c para.cpp

calculate.o: calculate.cpp
	$(CC) -c calculate.cpp

plot.o: plot.cpp
	$(CC) -c plot.cpp

.PHONY: clean

clean:
	rm *.o main
